package pers.amos.edu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.util.Date;

/**
 *
 *
 * @author liuzhm
 * @email ztezhmliu@126.com
 * @date 2019-09-10 9:47:00
 */
@Table(name = "examination_result")
public class ExaminationResultEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 测评记录编号
     */
    private Integer id;
    /**
     * 用户编号
     */
    private String openId;
    /**
     * 试卷编号
     */
    private Integer paperId;
    /**
     * 试卷名
     */
    private String paperName;
    /**
     * 试卷描述
     */
    private String paperDescription;
    /**
     * 封面图片路径
     */
    private String paperCoverPath;
    /**
     * 结果类型编号
     */
    private String resultTypeId;
    /**
     * 测评时间
     */
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date examinationTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Integer getPaperId() {
        return paperId;
    }

    public void setPaperId(Integer paperId) {
        this.paperId = paperId;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public String getPaperDescription() {
        return paperDescription;
    }

    public void setPaperDescription(String paperDescription) {
        this.paperDescription = paperDescription;
    }

    public String getPaperCoverPath() {
        return paperCoverPath;
    }

    public void setPaperCoverPath(String paperCoverPath) {
        this.paperCoverPath = paperCoverPath;
    }

    public String getResultTypeId() {
        return resultTypeId;
    }

    public void setResultTypeId(String resultTypeId) {
        this.resultTypeId = resultTypeId;
    }

    public Date getExaminationTime() {
        return examinationTime;
    }

    public void setExaminationTime(Date examinationTime) {
        this.examinationTime = examinationTime;
    }
}

